<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <link rel="stylesheet" href="./css/reg.css">
    <script src="./js/reg.js"></script>
    <title>公路管理系统-注册</title>
</head>
<body>
    <!-- 注册框 -->
    <div class="tbody">
        <!-- 提示文字 -->
        <div class="head">您好，欢迎注册~</div>
        <!-- 注册列表 -->
        <ul>
            <li>
                员工姓名：
                <input onblur="check_sname()" onfocus="sname_show()" id="sname"  class="liet1" type="text">
                <span id="sname_msg"></span>
            </li>
            <li>
                员工密码：
                <input onblur="check_spwd()" onfocus="spwd_show()" id="spwd"  class="liet1"  type="password">
                <span id="spwd_msg"></span>
            </li>
            <li>
                再次输入：
                <input onblur="check_cpwd()" onfocus="cpwd_show()" id="cpwd"  class="liet1"  type="password">
                <span id="cpwd_msg"></span>
            </li>
            <li>
                员工性别：
                <input type="radio" name="sex" value="1" id="men">
                <label for="men">男</label>   
                <input class="gender" type="radio" name="sex" value="0" id="women">
                <label for="women">女</label>
            </li>
            <li>
                部门编号：
                <input onblur="check_deptId()" onfocus="deptId_show()" id="deptId"  class="liet1"  type="number" max="40" min="10" step="10">
                <span id="deptId_msg"></span>
            </li>
            <li>
                出生日期：
                <input onblur="check_birthday()" onfocus="birthday_show()" id="birthday"  class="liet1"  type="date">
                <span id="birthday_msg"></span>
            </li>
            <li>
                员工电话：
                <input onblur="check_tel()" onfocus="tel_show()" id="tel"  class="liet1"  type="tel">
                <span id="tel_msg"></span>
            </li>
            <li>
                目前职位：
                <input type="radio" name="position" value="1" id="manager">
                <label for="manager">管理员</label>
                <input class="gender" type="radio" name="position" value="0" id="test">
                <label for="test">检测员</label>
            </li>
            <li>
                目前薪资：
                <input onblur="check_salary()" onfocus="salary_show()" id="salary"  class="liet1"  type="text">
                <span id="salary_msg"></span>
            </li>
            <li>
                入职时间：
                <input onblur="check_entry_time()" onfocus="entry_time_show()" id="entry_time"  class="liet1"  type="date">
                <span id="entry_time_msg"></span>
            </li>
        </ul>
        <button onclick="reg()">注册</button>
        
    </div>
</body>
</html>